﻿namespace com.stifel.SharePoint
{
    using System.Collections.Generic;

    public class ListDefn
    {
        #region Properties

        public string DefaultContentType
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the names of the content types that are to be associated with the list.
        /// </summary>
        public List<string> ContentTypes
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the description for the list.
        /// </summary>
        public string Description
        {
            get;
            set;
        }

        /// <summary>
        ///  Gets or sets a Boolean value that specifies whether minor versions should be enabled when versioning is enabled for the document library. true if minor versions should be enabled; otherwise, false. The default is false.
        /// </summary>
        public bool EnableMinorVersions
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets a Boolean value that specifies whether versioning is enabled for the list. This is affects document library only. true if versioning should be enabled; otherwise, false. The default is false.
        /// </summary>
        public bool EnableVersioning
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets a Boolean value that specifies whether to create the list hidden. true if the list should be hidden; otherwise false. The default is false.
        /// </summary>
        public bool Hidden
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets a Boolean value that specifies whether the list should appear on the Quick Launch of the home page. true if the list should appear on the Quick Launch area of the homepage; otherwise, false. The default is false.
        /// </summary>
        public bool OnQuickLaunch
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the root folder name for the list.
        /// </summary>
        public string RootFolderName
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the displayed title for the list.
        /// </summary>
        public string Title
        {
            get;
            set;
        }

        #endregion Properties
    }
}